home *** CD-ROM | disk | FTP | other *** search
/ Acorn Collectors / Acorn Collectors CD 1.iso / acorn / ftp / docs / ACORNUSR / 1989 / JUL89 < prev    next >
Encoding:
Text File  |  1995-02-24  |  3.7 KB  |  59 lines

  1. * Welcome to another Customer Hotline column. This will be my last column, 
  2. but more on this later.
  3.  
  4. * With the release of RISC OS comes a new 6502 emulator called !65Host.
  5. This application substantially emulates a BBC model B microcomputer
  6. running OS 1.2. It supports direct screen accesses, paged sideways ROMs
  7. and direct accesses to some hardware. As a result, the Customer Support
  8. department would like your help in compiling lists of software that work
  9. under this emulator, the 65Arthur Tube emulator and the PC emulator. If
  10. you know of any packages which run under these emulators, please write in, 
  11. stating which version of the package you have used, what problems you have 
  12. encountered, which emulator (and version of emulator) and which computer
  13. you are using.
  14.  
  15. * If you have ever wondered how space allocation under DFS & ADFS
  16. differes, or have been stumped by the concept of compaction, read on!
  17. Unlike DFS, ADFS has provision for extending files beyond the space
  18. allocated to them on a disc. On DFS, space is contiguous for a file, and
  19. each file has a space on the disc, starting from a particular sector
  20. number recorded in the catalogue. If there is space after the file on the
  21. disc, the file can expand, but only until the point on the disc where
  22. another file starts, or the end of the disc is reached. Compaction in DFS
  23. removes all free space between files, and therefore no file (except the
  24. last file on the disc) can expand beyond the end of it's final sector. The 
  25. last file on a disc may be identified as the file which comes FIRST in a
  26. *INFO #.* operation on the disc. In ADFS, the file storage is still
  27. contiguous (except for E format under RISC OS on the Archimedes), but file 
  28. expansion beyond the end of the space available is possible. This is
  29. achieved by physically copying the file to a different place on the disc,
  30. where more space is available. The place on the disc previously occupied
  31. by the file then becomes vacant. The obvious corollory of this is that for 
  32. a file to expand beyond the allocated space, there must be a contiguous
  33. space on the disc available of MORE than the space currently occupied by
  34. the file itself. This is of particular importance in database
  35. applications, where files may expand. If a file is stored so that it has
  36. to expand, the best place for it is as the last file on the ADFS disc.
  37. However, there is no simple way for the user to determine which file is
  38. last on the disc. Therefore in, for example, a ViewStore application, it
  39. is sensible for the actual file holding the database information to be on
  40. a disc by itself (in this case the D.file) and other smaller
  41. "housekeeping" files to be on another disc. This means that there is no
  42. obstacle to file expansion. ADFS is, in this manner, like DFS. It is
  43. possible to create files before use on a blank disc (on a Master 128 and
  44. later, use *CREATE), with the last file being created being the database
  45. file itself. Then, each file will have its own area to occupy. However,
  46. this method can backfire if one of the smaller files gets too large - it
  47. will be copied in front of the database file, potentially causing an
  48. obstacle to its expansion. If the file tries to expand beyond its length
  49. and is physically too large to copy onto the free space available, it will 
  50. report "Disc full" or the potentially more confusing "Compaction
  51. required". NB It should be noted that in both DFS and ADFS, compaction
  52. removes space between files, reducing the capability of earlier files on
  53. the disc to expand without copying.
  54.  
  55. * As I mentioned at the beginning, this will be my last Customer Hotline
  56. column. However, as so many of you have thanked BBC Acorn User and myself
  57. for this column, I have bullied one of my colleagues into taking it over.
  58. I will leave him to introduce himself next month.
  59.